cd /opt/docker

docker load -i blade-da.0.42.0.tar.gz
docker load -i digit-ai.0.42.0.tar.gz
docker load -i redis.tar.gz
docker load -i minio.tar.gz
docker load -i mysql.tar.gz

mkdir -p /opt/docker/redis/data
mkdir -p /opt/docker/minio/data
mkdir -p /opt/docker/mysql/data
mkdir -p /opt/docker/mysql/init


sudo mkdir -p /opt/docker/digit-back/log

sudo chmod -R 777 /opt/docker/digit-back

cp init.sql /opt/docker/mysql/init

docker compose -f docker-compose.yml  up -d


